import {Component,OnInit,ViewChild} from '@angular/core';
import { PageModel } from "../../../../model/page-model";
import { ModalDirective } from 'ng2-bootstrap/modal';
import { flyIn } from '../../../../animations/fly-in';


@Component({
  selector: 'channelusers',
  templateUrl: './channelusers.component.html',
  styleUrls: ['./channelusers.component.css'],
  animations: [
      flyIn
  ]
})
export class Channelusers implements OnInit{
  @ViewChild('myModal') public myModal:ModalDirective;
  pageModel = new PageModel();
  page:number = 1;
  name:any;
  IDnum:any;
  phone:any;
  btype:number;
  constructor() {}
  ngOnInit() {   
  
  }

  cancel(){
    this.name="";
    this.IDnum="";
    this.phone="";
  }
 
getAll(page) {

  }

}

